package com.bbm.communitysystem.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "用户凭证实体类")
public class UserCredDto {

    @Schema(description = "用户唯一标识")
    private Integer id;

    @Schema(description = "登录账号", example = "admin")
    private String userName;

    @Schema(description = "登录密码", accessMode = Schema.AccessMode.WRITE_ONLY)
    private String password;

    @Schema(description = "验证码键值（从获取验证码接口获得）", example = "3dac12f4")
    private String captchaKey;

    @Schema(description = "是否自动登录", defaultValue = "false")
    private Boolean isAUTO;
}
